<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-color: #e5e1f5;
            margin: 0;
            height: 100vh;
            display: grid;/*网格布局*/
            place-items: center;
        }
        .face{
            width: 300px;
            height: 300px;
            background-image: radial-gradient(rgb(254,193,11)50%,rgba(250,221,178));/*颜色渐变*/
            border-radius: 50%;
            box-shadow: 30px 30px 35px rgba(0, 0, 0, 0.28);
            overflow: hidden;
            position: relative;
            z-index: -2;
        }
        .face::before,
        .face::after{
            content:'';
            width:32px;
            height: 45px;
            background-color: brown;
            position: absolute;
            top: 90px;
            border-radius: 50%;
        }
        .face::before{left: 80px;}
        .face::after{right: 80px;}/*把多余的拿出来*/
        .mask{
            width: 220px;
            height: 120px;
            background-color: #fff;
            position: absolute;
            left: 0;
            right: 0;
            margin: 0 auto;
            border-radius: 8px 8px 50% 50%;
            bottom: 20px;
            z-index: 0;
        }
        .mask::before,
        .mask::after{
            content: '';
            width: 300px;
            height: 10px;
            background-color: #fff;
            position: absolute;
            z-index: -1;
        }
        .mask::before{
            right: -51px;
            top: 28%;
            transform: rotate(-20deg);
        }
        .mask::after{
            left: -51px;
            top: 28%;
            transform: rotate(20deg);
        }
        #detail{
            width: 180px;
            height: 16px;
            background-color: #bef4f1;
            box-shadow: 0 25px #bef4f1,0 50px #bef4f1;/*盒子阴影*/
            border-radius: 0 0 40% 40%;
            position: absolute;
            left: 20px;
            top: 15%;
        }
    </style>
</head>
<body>
    <div class="face">
        <div class="mask">
            <div id="detail"></div>
        </div>
    </div>
</body>
</html>